import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Login from '@/components/Login'
import Journalism from '@/components/Journalism'
import Comment from '@/components/Comment'
import Show_User from '@/components/Show_User'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/journalism',
      name: 'Journalism',
      component: Journalism
    },
    {
      path: '/comment',
      name: 'Comment',
      component: Comment
    },
    {
      path: '/showuser',
      name: 'Show_User',
      component: Show_User
    }
  ]
})
